Skip to content

Migrate to uv#104

Draft
browniebroke wants to merge 1 commit intoencode:mainfrom
browniebroke:refactor/pyproject.toml
Draft

Migrate to uv#104
browniebroke wants to merge 1 commit intoencode:mainfrom
browniebroke:refactor/pyproject.toml

Conversation

@browniebroke
Copy link
Member

@browniebroke browniebroke commented Mar 5, 2026

Just a suggestion - replace requirements.txt by pyproject.toml and uv.lock

If we want to go ahead, the docs will need updating too

@browniebroke browniebroke force-pushed the refactor/pyproject.toml branch 4 times, most recently from d993427 to 7cc49d5 Compare March 6, 2026 08:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the project's dependency management from requirements.txt + pip to uv with pyproject.toml and uv.lock. The CI workflow is updated accordingly.

Changes:

  • Replaced requirements.txt with pyproject.toml and uv.lock for dependency management
  • Updated .github/workflows/ci.yml to use astral-sh/setup-uv and uv sync/uv run instead of setup-python and pip

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml New project metadata and dependency definitions replacing requirements.txt
uv.lock Auto-generated lock file pinning all transitive dependencies
requirements.txt Removed in favor of pyproject.toml
.github/workflows/ci.yml Updated CI to use uv tooling instead of pip/setup-python

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

readme = "README.md"
requires-python = "==3.13.*"
dependencies = [
"coreapi==2.3.3",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The coreapi dependency was not present in the original requirements.txt and is not imported anywhere in the codebase. This appears to be an unintentional addition. It should be removed from the dependencies list to keep the migration a 1:1 replacement.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants